package com.bjsxt.mapper;

import com.bjsxt.pojo.Expense;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ExpenseMapper {

    //添加报销单操作
    int   insert(Expense  expense);

    //查询所有待审报销事项
    @Select("select  *  from   expense   exp  join  employee  emp  on   exp.empid=emp.empid  where  exp.nextauditor=#{param1}  and  exp.status=0")
    List<Expense>  selectMore(String  empid);

}
